<div id="main">
    <div class="w450 mc bg_table po p15b">
        <div class="top_left"></div>
        <div class="top_right"></div>
        <div class="bottom_left"></div>
        <div class="bottom_right"></div>
        <h3 class="p15t p15l p15b bg_bot"><b><?php echo $this->translate->_("List of languages"); ?></b></h3>
        <table cellpadding="0" cellspacing="0">
            <tr>
                <td width="25%" bgcolor="#bebebe">No</th>
                <td width="75%" bgcolor="#bebebe"><?php echo $this->translate->_("Language files"); ?></th>
            </tr>
            <?php
            $isColor = 'bg2';
            $i = 1;
            foreach ($this->filearr as $row) {
                if ($isColor == 'bg1') {
                    $isColor = 'bg2';
                } else {
                    $isColor = 'bg1';
                }
                ?>	
                <tr class="<?php echo $isColor; ?>">
                    <td><?php echo $i; ?></td>
                    <td><?php echo $row; ?>
                        <?php
                        echo "<div class=\"row-actions short_action\"><span class='edit'><a href='" . $this->url(array('action' => 'edit', 'uid' => $row)) . "'>" . $this->translate->_("Edit") . "</a></div>";
                        ?>
                    </td>
                </tr>
                <?php $i++;
            } ?>
        </table>
    </div>
</div>

